package com.qianwang.shopmsg.repository;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import org.springframework.stereotype.Repository;

import com.ibatis.sqlmap.client.SqlMapClient;

@Repository("baseDao")
public class BaseDao extends SqlMapClientDaoSupport {

	@Resource(name="sqlMapClient")
	public SqlMapClient sqlMapClient;
	
	@PostConstruct
    public void initSqlMapClient(){
     super.setSqlMapClient(sqlMapClient);
	}  
}
